package com.tzbank.wisdom.controller;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.tzbank.wisdom.service.LoginTypeService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = { "指纹人脸认证设备号上送" })
@RestController
@RequestMapping("loginType")
public class LoginTypeController {
	@Resource
	LoginTypeService loginTypeService;

	/**
	 * 指纹人脸登录绑定设备
	 * 
	 * @param paramMap
	 * @return
	 */
	@ResponseBody
	@PostMapping(value = "/bind")
	@ApiOperation(value = "指纹人脸登录绑定设备", notes = "指纹人脸登录绑定设备接口")
	public Map<String, Object> bindDevice(@RequestBody Map<String, Object> paramMap) {
		return loginTypeService.bindDevice(paramMap);
	}
}
